net/http.connReader.remain (field)
8 uses
net/http (current package)
server.go#L656: remain int64 // bytes remaining
server.go#L736: func (cr *connReader) setReadLimit(remain int64) { cr.remain = remain }
server.go#L737: func (cr *connReader) setInfiniteReadLimit() { cr.remain = maxInt64 }
server.go#L738: func (cr *connReader) hitReadLimit() bool { return cr.remain <= 0 }
server.go#L780: if int64(len(p)) > cr.remain {
server.go#L781: p = p[:cr.remain]
server.go#L798: cr.remain -= int64(n)
server.go#L1935: if c.r.remain != c.server.initialReadLimitSize() {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |